package com.chaobl.goods.sku.service.impl;

import com.chaobl.goods.sku.entity.Sku;
import com.chaobl.goods.sku.mapper.SkuMapper;
import com.chaobl.goods.sku.service.ISkuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 门店商品详细信息 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2020-04-19
 */
@Service
public class SkuServiceImpl extends ServiceImpl<SkuMapper, Sku> implements ISkuService {

    @Override
    public List listByCatalogId(Integer enterpriseId, Integer shopId, Integer catalogId) {
        return this.getBaseMapper().listByCatalogId(enterpriseId, shopId, catalogId);
    }
}
